package com.mydemo.spring.state_machine.impl;

import com.mydemo.spring.state_machine.BizOrderMachineBuilder;
import com.mydemo.spring.state_machine.BizOrderStatusChangeEventEnum;
import com.mydemo.spring.state_machine.BizStateEnum;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.statemachine.StateMachine;
import org.springframework.statemachine.config.EnumStateMachineConfigurerAdapter;

/**
 * <p></p >
 *
 * @author liming1
 * @version $Id: StateMachineBuild1, v1.0 2019-09-25 10:26 liming1 Exp $
 */
public class StateMachineBuild1 extends EnumStateMachineConfigurerAdapter implements BizOrderMachineBuilder {
    @Override
    public String name() {
        return BUILD_NAME_1;
    }

    @Override
    public StateMachine<BizStateEnum, BizOrderStatusChangeEventEnum> build(BeanFactory beanFactory) throws Exception {
        return null;
    }
}
